package com.lowcode.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 组件库配置
 * </p>
 *
 * @author joy
 * @since 2025-03-30
 */
@Getter
@Setter
@ToString
@TableName("sim_component_lib")
public class SimComponentLib implements Serializable {

  private static final long serialVersionUID = 1L;

  private String id;

  private LocalDateTime createTime;

  private LocalDateTime updateTime;

  private Integer showorder;

  private Integer isdelete;

  /**
   * 组件库名称
   */
  private String libName;

  /**
   * 数据库ip
   */
  private String dbIp;

  /**
   * 数据库名称
   */
  private String dbName;

  /**
   * 数据库用户名
   */
  private String dbAccount;

  /**
   * 数据库密码
   */
  private String dbPassword;

  /**
   * 数据库端口
   */
  private Integer dbPort;
  /**
   * 表名
   */
  private String tableName;

  /*
   * 整个业务组件的描述文件
   */
  private String modelJson;
}
